<reg_setvalue> : Set Registry Value

This command sets defined registry value.

Syntax: 

<reg_setvalue>("RegKey", "ValueIdentifier", "Value", "ValueType" )

RegKey
Full path of registry key to be deleted.  Example: HKEY_CURRENT_USER\Software\MyCompany\NewKey

ValueIdentifier
Name of the value.  Example: ProductName.

Value
Value.  Example: Macro ToolsWorks.

ValueType
0 - String value.
1 - Numeric value.

 

Example: 

<#> This command sets ProductName value
<#> of 'HKEY_CURRENT_USER\Software\TestKey'
<#> to Something
<cmds>
<reg_setvalue>("HKEY_CURRENT_USER\Software\TestKey","ProductName","Something","0")